package com.lhy.framework.test.bean;

/**
 * @ClassName UserService
 * @Description
 * @Author lihaiyang
 * @Date 2022/9/8 22:01
 * @Version 1.0
 */
public class UserService {

    private String userId;

    private UserDao userDao;

    public UserService() {
    }


    public void queryUserInfo() {
        System.out.println("查询用户信息："+ userDao.queryUserName(userId));
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
